package com.devunion.bogdan.model.project.info;

import com.devunion.bogdan.model.event.*;
import com.devunion.bogdan.model.project.Paper;

import javax.swing.event.EventListenerList;
import javax.persistence.*;
import java.util.*;
import java.io.Serializable;

import org.hibernate.annotations.Cascade;

/**
 * @author Viktar Liaskovich
 */
public class ProjectInfo implements Serializable {
    private long projectId;
    private String name;

    public ProjectInfo() {
    }

    public long getProjectId() {
        return projectId;
    }

    public void setProjectId(long projectId) {
        this.projectId = projectId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return name;
    }
}